package com.study.Mapper;

import com.study.Entity.Article;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleMapper {
    List<Article> getArticleList(String categoryId, String title,String status);

    void addArticle(Article article);

    void updateArticle(Article article);

    Article getArticleById(String articleId);

    void deleteSection(String articleId);

    void deleteArticle(String articleId);

    List<Article> getArticleListByThree(String categoryId, String title, String status, String username);
}
